package com.input4hua.decorator.decorator;

import com.input4hua.decorator.Component;

/**
 * Created by jiahua.hu on 2019/3/3.
 */
public abstract class Decorator extends Component {
    private Component component = null;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void doSomeThing() {
        this.component.doSomeThing();
    }
}
